//
//  PushMsgCell.m
//  FootPrint
//
//  Created by alex tao on 5/9/13.
//  Copyright (c) 2013 alex tao. All rights reserved.
//

#import "PushMsgCell.h"

@implementation PushMsgCell

- (void)internalInit
{
    [[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class]) owner:self options:nil];
    
    self.msgIcon.showWithAnimation = NO;
    
    _contentView.frame = self.bounds;
    [self addSubview:_contentView];
}

- (id)initWithCoder:(NSCoder *)aDecoder
{
    self = [super initWithCoder:aDecoder];
    if (self) {
        // Initialization code
        [self internalInit];
    }
    return self;
}

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
        [self internalInit];
    }
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

- (void)dealloc {
    [_contentView release];
    [_msgIcon release];
    [_msgLabel release];
    [super dealloc];
}
@end
